package com.ewei.web.crawler;
/**
 * 线程池生命周期(观察者模式)
 * @author David
 *
 */
public interface PoolLifecycle {
	/**
	 * add PoolListener
	 */
	public void addListener(PoolListener listener);
	/**
	 * initial method
	 */
	public void init();
	/**
	 * running method
	 */
	public void running();
	/**
	 * shutdown method
	 */
	public void shutdown();
}
